/*
    kOTF Open Trace Format - a library for generating execution traces.
    Copyright 2012 Daniel K. O.

    kOTF is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    kOTF is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with kOTF.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef KOTF_TYPES_INTERNAL_H
#define KOTF_TYPES_INTERNAL_H

#include <unordered_map>
#include <thread>
#include <mutex>
#include <condition_variable>

#include <kotf/Types.hpp>

namespace kotf {

    using std::unordered_map;

    typedef std::thread thread;

    typedef std::mutex mutex;

    typedef std::lock_guard<mutex> Lock;

    typedef std::condition_variable condition_variable;

// get rid of this when gcc finally supports thread_local
#define thread_local __thread
}

#endif
